
/* Presa da http://www.w3schools.com/dom/dom_loadxmldoc.asp */
function loadXMLDoc(filename){
	var xhttp;
	if (window.XMLHttpRequest){
  	  xhttp=new XMLHttpRequest();
  	}else{ // code for IE5 and IE6
	  xhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	}
	xhttp.open("GET",filename,false);
	xhttp.send();
	return xhttp.responseXML;
}